package com.chen.framework.model.auth;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @author: ~龙~
 * @date: 2023/6/13 15:39
 **/
@Data
@TableName("auth_link_role_permission")
@ApiModel(value = "RolePermission对象", description = "角色与权限的关系")
public class AuthLinkRolePermission {

    @ApiModelProperty("角色ID")
    @TableField(value = "role_id")
    private Long roleId;

    @ApiModelProperty("权限ID")
    @TableField(value = "permission_id")
    private Long permissionId;
}
